
list_x = [1, 2, 3, 4, 5, 6, 7, 8]

b = map(lambda x: x*x, list_x)
print(list(b))

list_y = [1, 2, 3, 4, 5, 6, 7, 8]

c = map(lambda x, y: x*x+y, list_x, list_y)
print(list(c))
